package com.derive.education_service.web.admin.bean.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ToString
public class RoleUpDto {
    @NotNull(message = "角色id不能为空")
    private Integer roleId;

    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    /**
     * 角色介绍
     */
    @NotBlank(message = "角色介绍")
    private String roleInfo;
}
